*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
i.icon-arrow-down{
    font-size: 30px;
    position: absolute;
    /* 调整位置 */
    top: 19px;
    left: 240px;
    transition: all 0.3s linear;
}
i.rotate{
    transform: rotate(180deg);
    transition: all 0.3s linear;
}


body{
    background-color: #e9d5ca;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}


.select-menu{
    width: 300px;
    cursor: pointer;
    position: relative;
}

.select{
    background-color: #201e1e;
    padding: 20px;
    color: #fff;
    font-weight: 800;
    border-radius: 16px;
    display: flex;
    align-items:center;
    justify-content: space-between;
}

.options-list{
    position: absolute;
    width: 100%;
    background-color: #f9f9f9;
    border-radius: 10px;
    margin-top: 6px;
    padding: 0 20px;
    max-height: 180px;
    /* 溢出后自动加滚动条 */
    overflow-y: auto;
    transition: 0.3s linear 0.2s;
    /* 隐藏 */
    height: 0;
}

.option{
    padding: 8px 0;
    font-weight: 800;
    font-size: 14px;
    transition: 0.2s ease-in-out;
}
.option:hover,
.option.selected{
    color: #00a8ff;
    
}
/* 美化滚动条 */
.options-list::-webkit-scrollbar{
    width: 6px;
    background-color: #eee;
}
.options-list::-webkit-scrollbar-thumb{
    background-color: #00a8ff;
}
.options-list.active{
    height: 180px;
}
